//
//  BMHCallAndReciveCustomCmd.h
//  BMHVideoMain
//
//  Created by mac on 2017/8/30.
//  Copyright © 2017年 BAOMIHUA.COM. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BMHCallAndReciveCustomCmd : NSObject
//新视聊相关
- (instancetype)initNewCallAndReciveWithUserACtion:(int)UserAction AVRoomID:(int)AVRoomID CallSponsor:(NSString *)CallSponsor IMGroupID:(NSString *)IMGroupID IMGroupType:(NSString *)IMGroupType CallTip:(NSString *)CallTip CallType:(int)CallType CallDate:(long)CallDate Sender:(NSString *)Sender SenderPlayURL:(NSString *)SenderPlayURL TargetUrlsArr:(NSArray *)TargetURLS TargetsArr:(NSArray *)TargetsArr  MembersArr:(NSArray *)MembersArr  CallUUID:(NSString *)CallUUID CustomParam:(NSString *)CustomParam;
- (instancetype)initNewCallAndReciveWithUserACtion:(int)UserAction CallType:(int)CallType AVRoomID:(int)AVRoomID  CallDate:(long)CallDate Sender:(NSString *)Sender TargetsArr:(NSArray *)TargetsArr CallUUID:(NSString *)CallUUID ;

- (instancetype)initLiveWaitUserACtion:(int)UserAction CallType:(int)CallType AVRoomID:(int)AVRoomID  CallDate:(long)CallDate Sender:(NSString *)Sender TargetsArr:(NSArray *)TargetsArr CallUUID:(NSString *)CallUUID SenderPlayURL:(NSString *)SenderPlayURL;

@property (nonatomic, assign) int           UserAction;             //  /** 命令字 */
@property (nonatomic, assign) int           AVRoomID;               //   /** 呼叫id(AV房间id) */

@property (nonatomic, strong) NSString      *CallSponsor;           // /** -通话发起者id */
@property (nonatomic, strong) NSString      *IMGroupID;             //  /** -IM群组id */
@property (nonatomic, strong) NSString      *CallTip;               // /** 电话主题 */
@property (nonatomic, strong) NSString      *IMGroupType;             /** -IM群组类型 */
@property (nonatomic, assign) int           CallType;               //  /** 通话类型 */
@property (nonatomic, assign) long          CallDate;               //  /** 时间戳 */
@property (nonatomic, strong) NSString      *Sender;                // /** 消息发送人id */
@property (nonatomic, strong) NSString      *SenderPlayURL;          ///** 视频通话的所有已连麦的视频流播放地址 */
@property (nonatomic, strong) NSArray       *TargetURLS;            // /** 接收者连麦的需要的流地址 */
@property (nonatomic, strong) NSArray       *Targets;               //  /** - 接收者 */
@property (nonatomic, strong) NSArray       *Members;               //   /** - 成员 */
@property (nonatomic, strong) NSString      *CallUUID;              //  /** - UUID(通话唯一标识) */
@property (nonatomic, strong) NSString      *CustomParam;           // /** -自定义参数 */用户资料
@property (nonatomic, strong) NSString      *TargetUserID;           // /** 接收者用户id */
@property (nonatomic, strong) NSString      *TargetPushURL;           //  /** 接收者连麦的需要的推流地址 */
@property (nonatomic, strong) NSString      *TargetPlayURL;           // /** 接收者连麦的需要的播放地址 */
@property (nonatomic, strong) NSString *actionParam;            // 自定义参数字段，可为空，为空不传

- (NSData *)NewCallAndReciveSendData;

@end
